import Vue from "vue";
import App from "./App.vue";
// import router from "./router";
import router from "./utils/routerGuard";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/styles/common.less";

import x2js from "x2js";
Vue.prototype.$x2js = new x2js();

Vue.config.productionTip = false;

Vue.use(ElementUI);

//引入字体图标
import "@/assets/iconfont/iconfont.css";
import "@/assets/iconfont/iconfont.js";

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
